package com.dxb.config;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * @author Administrator
 */
@PropertySource(value = "/config/before.properties")
@Configuration
@Data
public class BeforeConfig {
    public BeforeConfig(){
        System.out.println("BeforeConfig");
    }
    @Value("${com.dxb.config}")
    private String config;
}
